package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.common.query.QueryObject;

import java.util.List;

public interface DestinationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Destination record);

    Destination selectByPrimaryKey(Long id);

    List<Destination> selectAll();

    int updateByPrimaryKey(Destination record);
    List<Destination> selectForList(QueryObject qo);

    void changeHot(Destination destination);

    List<Destination> listDestByRegionId(Long[] refIds);

    List<Destination> listHotDestByRegionId(Long regionId);

    List<Destination> selectProvince();


    Destination selectById( Long refId);



    List<Destination> listByHotelTheme6(String themeName);

    List<Destination> listDestByRecmmendId(Long[] refIds);



}